runtime.scavChunkData.inUse (field)
15 uses
runtime (current package)
mgcscavenge.go#L1144: if !sc.isHugePage() && sc.inUse > scavChunkHiOccPages {
mgcscavenge.go#L1246: inUse uint16
mgcscavenge.go#L1267: inUse: uint16(sc),
mgcscavenge.go#L1276: return uint64(sc.inUse) |
mgcscavenge.go#L1357: return sc.inUse < scavChunkHiOccPages && sc.lastInUse < scavChunkHiOccPages
mgcscavenge.go#L1361: return sc.inUse < scavChunkHiOccPages
mgcscavenge.go#L1366: if uint(sc.inUse)+npages > pallocChunkPages {
mgcscavenge.go#L1367: print("runtime: inUse=", sc.inUse, " npages=", npages, "\n")
mgcscavenge.go#L1371: sc.lastInUse = sc.inUse
mgcscavenge.go#L1374: sc.inUse += uint16(npages)
mgcscavenge.go#L1375: if sc.inUse == pallocChunkPages {
mgcscavenge.go#L1383: if uint(sc.inUse) < npages {
mgcscavenge.go#L1384: print("runtime: inUse=", sc.inUse, " npages=", npages, "\n")
mgcscavenge.go#L1388: sc.lastInUse = sc.inUse
mgcscavenge.go#L1391: sc.inUse -= uint16(npages)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |